package com.huadao.cart_ccs.experiment.injection;

import com.huadao.cart_ccs.base.BasePresenter;
import com.huadao.cart_ccs.base.BaseView;
import com.huadao.cart_ccs.greendao.entity.Injection;

import java.util.List;

public interface InjectionContract {
    interface IInjectionView extends BaseView{
        void onGetHistoryInjectionList(List<Injection> injectionList);
    }

    abstract class InjectionPresenter extends BasePresenter<IInjectionView>{
        abstract void getHistoryInjection();
        public abstract void saveInjection(Injection injection);
    }
}
